I N T R O D U C T I O N 
 
                                                               = = = = = = = = 
 
 
 
           Y o u   p u r c h a s e d   A G D S   ( A d v e n t u r e   G a m e   D e v e l o p m e n t   S y s t e m ) , 
 
 d e s i g n e d   t o   c r e a t e   a   d y n a m i c   a d v e n t u r e   g a m e s   ,   t e a c h   - 
 
 i n g   p r o g r a m s   ,   a   v a r i e t y   o f   p r o m o t i o n a l   p r o d u c t s .   T h e   p a c k a g e   i n c l u d e s   s o 
 
 A s   o r i g i n a l   i n t e r p r e t e r   p r o g r a m   A G I   ( A d v e n t u r e   G a m e   I n t e r p r e - 
 
 t e r ) ,   w h i c h   ,   i n   f a c t ,   i s   t h e   f a c t   t h a t   "   a n i m a t e s   "   y o u r   g a m e   ,   a n d 
 
 a l s o   a d a p t e d   i n t e r p r e t e r   w e a r i n g   a s   p a c k a g e   n a m e   A G D S . 
 
 I n   t h e   f u t u r e ,   a l l   t h a t   i s   w r i t t e n   a b o u t   t h e   A G I   i n t e r p r e t e r   c a n   b e   f u l l y 
 
 a n d   r e f e r r e d   t o   t h e   i n t e r p r e t e r   A G D S . 
 
 
 
           I f   y o u   h a v e   n e v e r   h a d   t o   p l a y   L a r r y ,   S p a c e   Q u e s t   a n d   t h e   o t h e r 
 
 G i a   s i m i l a r   g a m e s   ,   y o u   w i l l   h a v e   a   f a s c i n a t i n g   i n s i g h t   i n t o   t h e   w h o l e   f a m i l y 
 
 s t v o m   a d v e n t u r e   g a m e s .   T h e i r   m e a n i n g   i s   a s   f o l l o w s .   Y o u   -   t h e   m a i n 
 
 t i o n   p r o t a g o n i s t   o f   t h e   g a m e   ,   d e p e n d i n g   o n   y o u r   a c t i o n s   d e v e l o p e d 
 
 i t s   p l o t   .   W h i l e   t h e   c h a r a c t e r s   a n d   t h e   e v e n t s   o f   t h e   g a m e   i n v e n t e d   a u t h o r 
 
 t o r u s   i n   a d v a n c e   o f   t h e   g a m e   w i l l   d e p e n d   o n   y o u r   a c t i o n s . 
 
 
 
           T o   s u c c e s s f u l l y   c r e a t e   p r o g r a m s   i n   t h e   c r e a t i v e   g r o u p   i n   A G D S 
 
 m u s t   i n c l u d e   a t   l e a s t   t h r e e   p e o p l e   :   w r i t e r ,   a r t i s t   a n d 
 
 e n o u g h   h i g h l y   s k i l l e d   p r o g r a m m e r   .   L a t e r   w e   w i l l   d e s c r i b e d 
 
 s a t   a p p r o x i m a t e   t h e   d i s t r i b u t i o n   o f   r e s p o n s i b i l i t i e s   i n   t h e   g r o u p . 
 
 
 
           A G D S   p a c k a g e   o f f e r s   y o u   t o   p l a y   t h e   r o l e   o f   t h e   g a m e   ' s   w e b s i t e   ,   i e   d e v e l o p e d 
 
 B o t h a   p l o t ,   i n v e n t   c h a r a c t e r s   ,   p a i n t   s c e n e r y   ,   e t c .   P r o g r a m s 
 
 o u r   p a c k a g e   w i l l   h e l p   y o u   t o   d r a w   t h e   s c e n e r y   a n d   c h a r a c t e r s   t o   d e s c r i b e   t h e   l o g i c 
 
 g a m e s ,   c o m p i l e   a   d i c t i o n a r y   o f   w o r d s   t h a t   d e s c r i b e   o b j e c t s   a n d   a c t i o n 
 
 t i o n s   .   D a t a   p r e p a r e d   w i t h   t h e   h e l p   o f   o u r   p a c k a g e   ,   t h e   p r o g r a m   p r e -   A G I 
 
 g a t e s   i n   a n   e x c i t i n g   f a n t a s t i c   g a m e   .   W e   w i l l   h e l p   y o u   a l l   d r a w   - 
 
 V a t   a n d   s h o w   ,   a n d   t h i n k   o f   a l l   y o u   h a v e   t o   d o   ! 
 
 
 
           W e   b e l i e v e   t h a t   y o u   a r e   f a m i l i a r   w i t h   t h e   w o r k   o n   a   p e r s o n a l   c o m p u t e r   , 
 
 s o   i n   t h e   s p e c i f i c a t i o n   c o n t a i n   i n f o r m a t i o n   a b o u t   t h e   k e y b o a r d   ,   f i l e s   ,   e t c . 
 
 
 
           I n   t h e   f i r s t   p a r t   o f   t h e   d e s c r i p t i o n   y o u   w i l l   g e t   a c q u a i n t e d   w i t h   t h e   p r o g r a m   A G I   a n d   i t s   p a   - 
 
 B o t h a   .   Y o u   w i l l   l e a r n   w h a t   a   r e s o u r c e   o b j e c t   ,   f r a m e ,   c y c l e   ,   e t c .   W e   d e t a i l 
 
 b u t   l o o k   a t   h o w   t o   c r e a t e   d r a w i n g s   ,   d e s c r i p t i o n s ,   i m a g e s ,   d e s c r i p t i o n s 
 
 l o g i c   o p e r a t i o n . 
 
 
 
           T h e   s e c o n d   p a r t   d e s c r i b e s   u t i l i t y   p r o g r a m s   P a c k a g e   A G D S .   d e s c r i p t i o n s 
 
 p r o g r a m s   a s s u m e   t h a t   y o u   a r e   a l r e a d y   f a m i l i a r   w i t h   t h e   f i r s t   p a r t   . 
 
 
 
           T h e   t h i r d   p o r t i o n   c o n t a i n s   a   f e w   e x a m p l e s .   T h e   f i r s t   e x a m p l e   -   t h i s   s e m i   - 
 
 t i o n   c y c l e   o f   t h e   s i m p l e s t   g a m e s   .   I n   i t ,   w e   c o n s i d e r   t h e   i n t e r a c t i o n 
 
 a l l   p r o g r a m s   i n   t h e   p a c k a g e   .   T h e   s e c o n d   e x a m p l e   i s   a   r e a l   p i e c e   o f   t h e   g a m e   I n   S e a r c h 
 
 o f   L o s t   P l a n e t ,   w h i c h   w e   c o n s i d e r   a   p a r t i c u l a r   r e a l i z a t i o n   o f   g a m e s . 
 
 I t   s h o w s   t h e   i n t e r a c t i o n   o f   s c e n e r y   ,   m o v i n g   o b j e c t s   ,   s o u n d   a n d 
 
 d e s c r i p t i o n   o f   t h e   o p e r a t i n g   l o g i c   . 
 
 
 
           T h e   f o u r t h   p a r t   i s   a c t u a l l y   a   d e s c r i p t i o n   o f   a n   e x a m p l e   o f   c r e a t i n g   t r a i n i n g   - 
 
 s p o n d i n g   p r o g r a m .   W e   a s s u m e   t h a t   w e   h a v e   a   p a c k a g e   A G D S   w i l l   m a i n l y 
 
 u s e d   t o   c r e a t e   a   t e a c h i n g   p r o g r a m   ,   s o   a s   ,   w h e n 
 
 m e a s u r e   i s   c o n s i d e r e d   c o m p l e t e   c y c l e   o f   t h e   t r a i n i n g   p r o g r a m   "   S T O R M   "   . 
 
 B y   p u r c h a s i n g   a   p a c k a g e ,   y o u   f i r s t   g e t   a   d e t a i l e d   c o m m e n t e d   a u t h o r 
 
 T o r   s o u r c e   c o d e   o f   t h e   p r o g r a m   ,   c r e a t e d   a t   t h e   "   I N T E P   "   ( C ) 
 
 C h e b o k s a r y   .   Y o u   c a n   s e e   t h e   r e c o m m e n d a t i o n s   d e v e l o p e r s 
 
 p r o g r a m   "   S T O R M   "   f o r   w r i t i n g   s u c h   p r o g r a m s . 
 
 
 
           T h e   a n n e x   p r o v i d e s   d e t a i l e d   i n f o r m a t i o n   a b o u t   d a t a   f o r m a t s   ,   t h e s e 
 
 i n f o r m a t i o n   o n   t h e   l e v e l   o f   k n o w l e d g e   s u g g e s t   s k i l l e d   p r o g r a m m e r s   . 
 
 
 
           D u e   t o   t h e   c o n s t a n t   d e v e l o p m e n t   o f   t h e   p a c k a g e   ,   t h e r e   m a y   b e   s l i g h t   d i f f e r e n c e s 
 
 a   d e s c r i p t i o n   o f   p r o g r a m s   o n   t h e   i m p l e m e n t a t i o n ,   s o   r e a d   t h e   t e x t 
 
 R E A D _ M E   f i l e   o n   a   f l o p p y   d i s k   . 
 
 
 
                                       P A R T   I . I n t e r p r e t a t o r   A G I   ( A G D S ) 
 
                                       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
                                                     I . 1 .   W H A T   I S   A G I 
 
                                                     = = = = = = = = = = = = = = = = = = 
 
 
 
           L a r r y   A G I   ( A G D S )   -   a   p r o g r a m   t h a t   a l l o w s   t h e   d e v e l o p m e n t   - 
 
 V a t   a n d   p l a y   g a m e   p r o g r a m s   c o n t a i n i n g   c o l o r   g r a p h i c s   ,   s o u n d 
 
 s u p p o r t ,   a n i m a t i o n . 
 
 
 
           A G I   p r o v i d e s   t h e   u s e r   t h e   a b i l i t y   t o   p r o g r a m   l o g i c 
 
 g a m e s   o n   a   s u f f i c i e n t l y   s i m p l e   p r o g r a m m i n g   l a n g u a g e   ,   h i d i n g   f r o m 
 
 D e v e l o p e r   a l l   t h e   d i f f i c u l t i e s   a s s o c i a t e d   w i t h   m a n a g i n g   g r a p h i c s ,   i n p u t   f r o m 
 
 k e y b o a r d ,   j o y s t i c k   ,   w o r k   w i t h   a   t i m e r   a n d   s o u n d   g e n e r a t o r   c o m p u t e r . 
 
 
 
           L a n g u a g e   A G I   ( A G D S )   i s   a   h i g h - l e v e l   l a n g u a g e   ,   a   c l o s e 
 
 P r o l o g   l a n g u a g e   s k i l l s   a n d   S m a l l   T a l k .   I n   t h i s   l a n g u a g e ,   d e s c r i b e s   t h e   l o g i c   o p e r a t i o n 
 
 p r o g r a m   ,   i . e .   t h o s e   r e l a t i o n s h i p s   t o   o b j e c t s   t h a t   c o m e   i n   t h e   p r o c e s s   o f   u r   - 
 
 r y   ,   c a r t o o n   o r   d i a l o g u e .   F o r   e x a m p l e ,   i f   y o u   a r e   d e v e l o p i n g   h a p p e n e d   - 
 
 i c a l   g a m e   ,   d u r i n g   w h i c h   t h e   p l a y e r   g e t s   t o   t h e   p a r t i c u l a r   s i t u a t i o n   i n 
 
 d e p e n d i n g   o n   w h e t h e r   h e   w i l l   g o   t o   t h e   r i g h t   o r   t o   t h e   l e f t   ,   t h e n   s u c h   a   c h o i c e   y o u 
 
 w i l l   n e e d   t o   d e s c r i b e   t h e   l a n g u a g e   i n   t h e   f o r m   o f   a   p r e d i c a t e   t h a t   t a k e s   v a l u e s 
 
 o f   F a l s e   (   f a l s e )   o r   T r u e   (   t r u e )   i n   a c c o r d a n c e   w i t h   t h e   v a l u e s     o f   t h e   c u r r e n t 
 
 c o o r d i n a t e s   o f   t h e   p o i n t   ,   i d e n t i f y i n g   t h e   p l a y e r . 
 
 
 
 
 
                                                 I . 1 . 1   W H A T   W O R K S   A G I 
 
                                                 = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
           A G I   i n t e r p r e t e r   c o n t a i n s   : 
 
 
 
           -   2 5 6   (   0   -   2 5 5 )   b y t e   v a r i a b l e s   ( V a r ) ; 
 
           -   2 5 6   ( 0   -   2 5 5   )   f l a g s   ( F l a g ) ; 
 
           -   A   k n o w n   q u a n t i t y   o f   o b j e c t s   m a n a g e d   b y   t h e   i n t e r p r e t e r 
 
               o n e   o f   w h i c h   (   t o   0   )   i s   c o n t r o l l e d   b y   p l a y i n g   t h e   k e y b o a r d   ; 
 
           -   A   k n o w n   q u a n t i t y   o f   i t e m s ; 
 
           -   1 2   s o r o k o s i m v o l n y h   s t r i n g   v a r i a b l e s   ( s t r i n g ) . 
 
 
 
           S o m e   v a r i a b l e s   ( 0   -   2 6 )   a n d   f l a g s   ( 0   -   1 5 )   a r e   a l r e a d y   r e s e r v e d 
 
 m a n a g e m e n t   i n t e r p r e t e r   ,   a n d   o t h e r s   a r e   u s e d   a t   t h e   d i s c r e t i o n   o f 
 
 p r o g r a m m e r .   I n t e r p r e t e r   p r o v i d e s   c o m m o n   t o   a l l   p r o g r a m s   ,   o n e   - 
 
 t e m p o r a r i l y   l o a d e d   i n t o   i t s   m e m o r y   ,   t h e   f i e l d   v a r i a b l e s   a n d   f l a g s .   n u m b e r 
 
 o b j e c t s   a n d   o b j e c t s   d e f i n e d   O b j e c t -   r e s o u r c e . 
 
 
 
           A c t i o n s   d e s c r i b e d   i n t e r p r e t e r   c o m m a n d s   (   o p e r a t o r s   )   l a n g u a g e 
 
 i n t e r p r e t e r .   F o r   e x a m p l e ,   t h e   c o m m a n d   o b j e c t   m a n a g e m e n t   ,   d o w n l o a d   a n d   y o u   - 
 
 l o a d   m a n a g e m e n t ,   e t c .   D e t a i l   c o m m a n d   i n t e r p r e t e r   w i l l   b e   c o n s i d e r e d 
 
 l a t e r . 
 
 
 
                                                             N o t e   ! 
 
                                                           - - - - - - - - - - - - - 
 
           A l l   v a r i a b l e s   ,   f l a g s   ,   o b j e c t s ,   l i n e s ,   w o r d s   ,   m e s s a g e s   ,   e t c . 
 
 i d e n t i f i e d   b y   a   n u m b e r   ,   a n d   n u m b e r i n g   f o r   a l l   u n i q u e 
 
 o n   ( f o r   e x a m p l e ,   t h e r e   i s   a   v a r i a b l e   n u m b e r   5 ,   l i n e   n u m b e r   5   a n d   n u m b e r   f l a g 
 
 5 ) . 
 
 
 
 
 
                                   I . 2 .   R E S O U R C E S   -   B A S I C   D A T A   T Y P E   A G I 
 
                                   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
             W e   d e v e l o p   g a m e   p r o g r a m s   ,   i e   c o m e   u p   w i t h   a   p l o t ,   c r e a t e 
 
 g i v e   g a m e   o b j e c t s   o d v i z h i v a e m   t h e m   d e v e l o p   s c e n e r y   a n d   v o c a b u l a r y 
 
 c o m m u n i c a t i o n   s y s t e m s   f o r   p l a y i n g   w i t h   A G I .   T o   d e s c r i b e   a l l   o f   t h i s   i n p u t 
 
 r e s o u r c e s .   T o   c r e a t e   s o m e   o f   t h e m   w e   u s e   a u x i l i a r y 
 
 p r o g r a m   ,   a n d   w h i c h   c o m p l e x   i s   A G D S ,   i n   t h i s   c a s e ,   t h e   i n p u t 
 
 t h e s e   p r o g r a m s   a r e   d a t a   r e s o u r c e s   . 
 
 
 
             L i s t   a l l   r e s o u r c e s   u s e d   .   R e s o u r c e s   a r e   t o   b e   s u b m i t t e d 
 
 t i o n   : 
 
 
 
           -   F u l l - s c r e e n   ,   c o l o r   g r a p h i c   p i c t u r e s   ( P i c t u r e -   r e s o u r c e )   ; 
 
           -   C o l o r e d   c a r t o o n   i m a g e s   ( V i e w -   r e s o u r c e )   ; 
 
           -   S o u n d   e f f e c t s   (   m u s i c ,   n o i s e   )   ( S o u n d -   r e s o u r c e )   ; 
 
           -   G a m e   o b j e c t s   -   o b j e c t s   ( O b j e c t -   r e s o u r c e )   ; 
 
           -   V o c a b u l a r y   f o r   c o m m u n i c a t i o n   s y s t e m   p l a y i n g   w i t h   A G I   ( W o r d -   r e s o u r c e )   ; 
 
           -   T h e   a c t u a l   p r o g r a m s   o n   t h e   i n t e r n a l   l a n g u a g e   A G I   ( L o g i c -   r e s o u r c e ) . 
 
 
 
                     C o n s i d e r   i n   m o r e   d e t a i l   e a c h   o f   t h e s e   r e s o u r c e s   . 
 
 
 
                                                   I . 2 . 1   P I C T U R E -   R E S O U R C E 
 
                                                   = = = = = = = = = = = = = = = = = = = = 
 
 
 
           R e s o u r c e   i s   u s e d   t o   d e s c r i b e   a   s t i l l   i m a g e   (   s c e n e r y   ) 
 
 a g a i n s t   w h i c h   t h e r e   i s   a   m o v i n g   m o v i n g   g a m e   o b j e c t s 
 
 t h a t   p r o g r a m m a t i c a l l y   a s s o c i a t e d   w i t h   v i e w -   r e s o u r c e s   (   s m . I . 2 . 2   )   .   b a c k g r o u n d   h a s 
 
 s i z e   o f   1 6 0   p i x e l s   h o r i z o n t a l l y   a n d   1 6 8   p i x e l s   v e r t i c a l l y .   e a c h   p o i n t 
 
 b a c k g r o u n d   c a n   b e   p a i n t e d   i n   o n e   o f   1 6   c o l o r s .   T o   c r e a t e   t h e   i l l u s i o n   o f   v o l u m e 
 
 C A P A C I T Y   e a c h   p o i n t   b a c k g r o u n d   a s c r i b e d   a n o t h e r   c h a r a c t e r i s t i c   -   p r i o r i - 
 
 r i t e t   . 
 
 
 
           P r i o r i t y   d e t e r m i n e s   t h e   d i s t a n c e   o f   e a c h   p o i n t   o f   o b s e r v a t i o n .   p o i n t 
 
 c o n s i d e r e d   a s   h a v i n g   h i g h e r   p r i o r i t y   s i t u a t e d   c l o s e r   a n d   v i c e   v e r s a .   a t   - 
 
 p r i o r i t y   o f   t a k e s   v a l u e s     f r o m   0   t o   1 5 . 
 
 
 
           M o v i n g   o b j e c t s   ( v i e w ) ,   t h e y   a p p e a r   o n l y 
 
 t o   t h o s e   s u r f a c e   a r e a s   w h i c h   a r e   n o t   g r e a t e r   t h a n   t h e i r   p r i o r i t y   , 
 
 t h a t   a l l o w s   y o u   t o   c r e a t e   t h e   i l l u s i o n   o f   p a s s a g e   "   f o r "   a n y   o b j e c t   o r 
 
 "   i n   f r o n t   o f   h i m   . " 
 
 
 
           P r i o r i t y   4   i s   t h e   m o s t   d i s t a n t   (   n o   o b j e c t   c a n   e s c a p e 
 
 " f o r "   h i m   ) ,   p r i o r i t y   1 5   -   t h e   m o s t   p r o x i m a l   (   n o   o b j e c t   c a n   p r o y   - 
 
 t i   " b e f o r e "   h i m   )   . 
 
 
 
           P r i o r i t i e s   0 ,   1   ,   2 ,   3   a r e   t h e   s e r v i c e   .   P a r t   o f   p i c t u r e -   r e s o u r c e 
 
 f o r m   o f   l i n e s   a n d   a r e a s   s h o w n   i n   t h e   p r i o r i t i e s   0   ,   1   ,   2 ,   3   a r e   o n   - 
 
 t i t l e s : 
 
 
 
                 0   -   a n   a b s o l u t e   b a r r i e r   (   b o u n d a r y   ) ; 
 
                 1   -   c o n d i t i o n a l   b a r r i e r   ; 
 
                 2   -   S i g n a l   b a r r i e r   ; 
 
                 3   -   s u r f a c e   w a t e r . 
 
 
 
           P i c t u r e -   r e s o u r c e   i s   a   s e q u e n c e   o f   c o m m a n d s   g e n e r a t e d 
 
 g i v e   a   g r a p h i c a l   e d i t o r   s t a t i c   i m a g e s   P i c t u r e   M a n a g e r 
 
 ( P M ) ,   t h e   i m p l e m e n t a t i o n   o f   w h i c h   w i l l   d r a w   a   b a c k g r o u n d   a g a i n s t   w h i c h   d e v e l o p s   , 
 
 s m i l i n g   a c t i o n   a n d   a s s i g n   i t   t o   t h e   p o i n t   o f   n e e d   p r i o r i t i e s   t . e . s o z d a t 
 
 v o l u m e t r i c   d e c o r a t i o n   . 
 
 
 
           W e   d r a w   y o u r   a t t e n t i o n   o n c e   a g a i n   t o   t h e   f a c t   t h a t   t h e   c o m m a n d s   d e s c r i b e d   i n 
 
 S e c t i o n   I . 2 . 1 ,   b y   w h i c h   c r e a t e s   a   p i c t u r e -   a n d   r e s o u r c e   - g e n e r a t i n g 
 
 p r o g r a m   a r e   P i c t u r e   M a n a g e r   ( P M )   a u t o m a t i c a l l y   i n   t h e   p r o c e s s   o f   d r a w i n g 
 
 a r t i s t   c o n c e i v e d   s c e n e r y   . 
 
 
 
           A c q u a i n t e d   w i t h   t h e s e   c o m m a n d s   i n   d e t a i l   (   s e e   a l s o   d e s c r i p t i o n   p m ) . 
 
 
 
 
 
                                           I . 2 . 1 . 1   T E A M   C O L O R   S E T T I N G S 
 
                                           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
           I n i t i a l l y ,   a l l   p o i n t s   a r e   w h i t e   b a c k g r o u n d   a n d   p r i o r i t y   4   .   W e   c a n   - 
 
 W e   c l a i m   t o   d r a w   a   p i c t u r e   o f   o n e   o f   t h e   f o l l o w i n g   c o l o r s   : 
 
 
 
           0   -   8   b l a c k   -   d a r k   g r a y 
 
           1   -   9   B l u e   -   B l u e 
 
           2   -   1 0   g r e e n   -   b r i g h t   g r e e n 
 
           3   -   g r e e n   1 1   -   b r i g h t   b l u e - g r e e n 
 
           4   -   1 2   r e d   -   b r i g h t   r e d 
 
           5   -   1 3   p u r p l e   -   l i g h t   l i l a c 
 
           6   -   1 4   b r o w n   -   y e l l o w 
 
           7   -   G r e y   1 5   -   W h i t e 
 
 
 
             J u s t   f o r   t h i s   p u r p o s e   i s   s e r v e d   b y   t h i s   t e a m   .   A f t e r   h e r   e x e c u t i o n 
 
 o f   a l l   s u b s e q u e n t   d r a w i n g   c o m m a n d s   w i l l   b e   u s e d   f o r   m a p p i n g 
 
 T h i s   s e t   o f   t e a m   c o l o r . 
 
 
 
                                             I . 2 . 1 . 2   T E A M   C O L O R S   W I T H D R A W N 
 
                                             = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
             T h i s   c o m m a n d   i s   u s e d   i f   w e   h a v e   j u s t   d r a w n   i m a g e   . 
 
 A f t e r   t h i s   C o m a n a   n o   g r a p h i c   w i l l   n o t   c h a n g e   t h e   c o l o r   a l r e a d y 
 
 m a p p e d   p o i n t s   ( i e ,   d o e s   n o t   c h a n g e   t h e   c o l o r   o f   y o u r   i m a g e   )   . 
 
 
 
                                     I . 2 . 1 . 3   T E A M   S E T T I N G   P R I O R I T I E S 
 
                                     = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
             G r a p h i c s   c o m m a n d s   f o l l o w i n g   t h i s   c o m m a n d   w i l l   b e   i n s t a l l e d   - 
 
 V a t   d i s p l a y e d   c u r r e n t   p r i o r i t y   p o i n t s   . 
 
 
 
 
 
                                         I . 2 . 1 . 4   u n d o   c o m m a n d   P R I O R I T Y 
 
                                         = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
             A f t e r   t h i s   c o m m a n d ,   n o   g r a p h i c   c o m m a n d   d o e s   n o t   c h a n g e   t h e   p r i o r i t y   - 
 
 t e t   a l r e a d y   m a p p e d   p o i n t s . 
 
 
 
                                       I . 2 . 1 . 5   T E A M   D I S P L A Y   L o h m a n n 
 
                                       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
           F o r   d r a w i n g   i m a g e s   u s i n g   m u l t i p l e   g r a p h i c s   c o m   - 
 
 A n d e s   .   T h i s   d r a w i n g   c o m m a n d s   s e v e r a l   v a r i e t i e s   o f   p o l y l i n e s   ,   a n d 
 
 s m o o t h   d i s p l a y   c o m m a n d   l i n e . 
 
 
 
           C o n s i d e r   t h e   f i r s t   d i s p l a y   c o m m a n d   p o l y l i n e s   . 
 
 
 
           T h e   f i r s t   c o m m a n d   d r a w s   a   l i n e   i n   t h e   c u r r e n t   c o l o r   a n d   p r i o r i t y   ,   c o n s i s t i n g 
 
 s e g m e n t s   o f   v e r t i c a l   a n d   h o r i z o n t a l   l i n e s   ;   a n d   i t   b e g i n s   w i t h 
 
 V e r t i c a l   l i n e s   : 
 
 
 
                                                     ( x ,   y ) 
 
                                                         %
 
                                                         %
 
                                                         V 
 
                                                     ( x ,   y 1 ) 
 
 
 
       w h e r e   x   -   t h e   h o r i z o n t a l   c o o r d i n a t e   a n d   y   -   t h e   v e r t i c a l   c o o r d i n a t e   . 
 
 
 
           B e c a u s e   w e   d r a w   a   v e r t i c a l   l i n e   ,   t h e   c o o r d i n a t e s   f o r   x   -   d o   n o t   c h a n g e 
 
 e t s y a   .   N e x t   i n   l i n e   -   h o r i z o n t a l   ,   n o w   d o e s   n o t   c h a n g e   t h e   c o o r d i n a t e 
 
 i n   y . 
 
 
 
                                                     (   x ,   y ) 
 
                                                         %
 
                                                         %
 
                                                         V 
 
                                                         %   %   %   %   %   %   %   %   %   %>   (   x 2 ,   y 1   ) 
 
                                                     (   x ,   y 1   ) 
 
 
 
           X   c h a n g e s   t o   x 2 ,   t h u s   s h o w i n g   t h a t   t h i s   i s   t h e   2 n d   c h a n g e . 
 
 
 
         A n a l o g o u s l y   : 
 
 
 
                                           (   x ,   y )   ( x 2 ,   y 3   ) 
 
                                           %  %   %   %   %   %   %   %   %   %   %   %   %>   (   x 4 ,   y 3   ) 
 
                                           %  %
 
                                           V   %
 
                                           %   %   %   %   %   %   %   %   %   %>   %
 
                                       (   x ,   y 1   )   (   x 2 ,   y 1   ) 
 
 
 
 
 
       I n   t h e   d e s c r i p t i o n   t h e r e   i s   n o   n e e d   t o   t r a n s f e r   t h e   e n t i r e   s e q u e n c e   o f   c o o r d i n a t e s 
 
 o r d i n a t e s   o f   a l l   p o i n t s   .   X ,   y ,   x ,   y 1 ,   x 2 ,   y 1 ,   x 2 ,   y 3   ,   x 4 ,   y 3   ,   b u t   r a t h e r   n e   - 
 
 r e c h i s l i t   c h a n g e   t h e   c o o r d i n a t e s   ,   b e c a u s e   w e   k n o w   h o w   t h e y   c h a n g e 
 
 w e r e   .   A s   a   r e s u l t ,   w e   o b t a i n   t h e   x ,   y ,   y 1 ,   x 2 ,   y 3   ,   x 4   . 
 
 
 
                       T h i s   s e q u e n c e   w i l l   s e t   t h e   t e a m   . 
 
 
 
     T h e   s e c o n d   c o m m a n d   i s   s i m i l a r   5   ,   b u t   t h e   f i r s t   l i n e   i s   h o r i z o n t a l   . 
 
 
 
                           ( x ,   y   )    %   %   %   %   %   %   %   %   %   %   %   %>   %  (   x 1 ,   y ) 
 
                                                                 %
 
                                                                 %
 
                                                                 %
 
                                                                 V 
 
                                                                 %   %   %   %   %   %   %   %   %   %   %   %   %   %   %>    %  . . . . . . 
 
                                                             (   x 1 ,   y 2 )   (   x 3 ,   y 2 ) 
 
 
 
 
 
                 G i v e n   b y   t h e   s e q u e n c e   x ,   y ,   x 1 ,   y 2   ,   x 3   ,   y 4   . . . . . . . 
 
 
 
     T h e   t h i r d   c o m m a n d   d r a w s   a   p o l y l i n e   c o n s i s t i n g   o f   l i n e   s e g m e n t s . 
 
 
 
                                               (   x 1 ,   y 1   ) 
 
                                                   /   \ 
 
                                                 /   \ 
 
                                               /   \ 
 
                                             /   \   . . .   (   x 3 ,   y 3   ) 
 
                                           /   \   / 
 
                                     (   x ,   y )   \   / 
 
                                                                 \   / 
 
                                                             (   x 2 ,   y 2   ) 
 
 
 
 
 
                       G i v e n   b y   t h e   s e q u e n c e   x ,   y ,   x 1 ,   y 1   ,   x 2 ,   y 2   . . . . 
 
 
 
                               I . 2 . 1 . 6   c o m m a n d   D i s p l a y s   a   s m o o t h   c u r v e 
 
                               = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
           T h i s   c o m m a n d   i s   a   k i n d   o f   t e a m   S c r i b e   g e n e r a l   l o   - 
 
 m a n a   l i n e   c o n s i s t i n g   o f   v e r y   s h o r t   l e n g t h s   . 
 
 
 
           T h e   l i n e   i s   d r a w n   f r o m   t h e   p o i n t   (   x ,   y )   a t   p o i n t   (   x 1 ,   y 1   ) ,   t h e n   t h e   p o i n t 
 
 ( x 2 ,   y 2 )   ,   e t c . 
 
 
 
           T h e   o p e r a n d s   a r e   t h e   x ,   y ,   d x 1 ,   d y 1 ,   d x 2 ,   d y 2 ,   . . . , 
 
                                                 w h e r e   d x   ( n )   =   x   ( n -   1   )   -   x   ( n ) ,   d y   ( n )   =   y   ( n -   1   )   -   y   ( n ) 
 
 
 
                                         I . 2 . 1 . 7   T E A M   p a i n t   a n   a r e a 
 
                                         = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
             T h i s   c o m m a n d   p r o v i d e s   s h a d i n g   c u r r e n t   c l o s e d   a r e a s 
 
 c o l o r   a n d   p r i o r i t y   f r o m   t h e   p o i n t   ,   w h i c h   s h o u l d   b e   w i t h i n 
 
 s e l e c t e d   a r e a .   O n e   t e a m   c a n   p a i n t   o n e   o r   m o r e   o f   - 
 
 d o m a i n s   ,   s p e c i f y i n g   a   p a i r   o f   c o o r d i n a t e s   i n s i d e   h e r . 
 
 
 
                                   T h e   t e a m   h a s   t h e   f o l l o w i n g   f e a t u r e s   : 
 
 
 
 1 .   I f   t h e   c u r r e n t   c o l o r   i s   s e t   a n d   i s   n o t   e q u a l   t o   1 5   ( i e   n o t   w h i t e   ) ,   t h e   r e g i o n   - 
 
         S t u   t o   b e   s h a d i n g ,   i s   c o n s i d e r e d   a   c l o s e d   w h i t e   a r e a   , 
 
         c o n t a i n i n g   t h e   s e l e c t e d   p o i n t   . 
 
 
 
                                 R e p a i n t   t h e   w h i t e   a r e a   i s   n o t   i m p o s s i b l e ! 
 
                                 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
 
 
 
 2   .   I f   t h e   c u r r e n t   c o l o r   i s   n o t   s e t   (   c a n c e l e d )   ,   t h e   a r e a   i s   c o n s i d e r e d 
 
         c l o s e d   d o m a i n   p o i n t s   w i t h   P r i o r i t y   4   a n d   c o n t a i n i n g   s e l e c t e d 
 
         p o i n t   (   f i l l   p r i o r i t y   m o d e   )   . 
 
 
 
         R e p a i n t   p o i n t   ( a s   w e l l   a s   c h a n g e   t h e   p r i o r i t y   p o i n t s   d i f f e r e n t   f r o m   4 ) 
 
         N O T   ( c o l o r   r e m a i n s   t h e   s a m e   )   ! 
 
 
 
                                         I . 2 . 1 . 8   T E A M   d r a w   p o i n t s 
 
                                         = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
           T h i s   c o m m a n d   c o n s i s t s   o f   t w o   p a r t s .   T h e   f i r s t   o f   t h e s e   i s   f o r   t h e   p r o b l e m 
 
 o f   t h e   p a r a m e t e r s   ,   t h e   s e c o n d   a c t u a l l y   d r a w i n g   . 
 
 
 
                                                   S e t   t h e   o p t i o n s   : 
 
                                                   - - - - - - - - - - - - - - - - - - - - - 
 
 
 
                                             I n   t h i s   p a r t ,   s t a t e s : 
 
 
 
 1 )   n u m b e r   f r o m   0   t o   7   ,   d e t e r m i n e d   b y   t h e   s i z e   o f   t h e   r e p r e s e n t a t i v e   p o i n t   ; 
 
 
 
 2 )   i f   s p e c i f i e d   i n   t h e   p r e c e d i n g   p a r a g r a p h ,   p o i n t   s i z e   g r e a t e r   t h a n   2 ,   i n   t h i s 
 
       p a r a g r a p h   ,   y o u   c a n   s p e c i f y   w h e t h e r   t o   r e p r e s e n t   a   p o i n t   i n   t h e   f o r m   o f   a   s q u a r e   o r   a 
 
       c i r c l e .   D e p e n d i n g   o n   t h e   c h o i c e   o f   t h e   p a r a m e t e r   i s   s e t   t o   "   0 " 
 
       o r   "   1 "   (   0   -   r i n g ,   1   -   s q u a r e )   ; 
 
 
 
 3 )   i n d i c a t e s   t h a t   w h a t   i s   t h e   p o i n t   -   t h e   o r d i n a r y   o r   "   t r a n s l u c e n t 
 
       t i o n   "   w i t h   t h e   r a t i o   o f   t h e   n u m b e r   o f   f i l l e d   e l e m e n t s   a n d   b y   t h e   o p e n   1 : 3   . 
 
 
 
                                                       D r a w   a   d o t   : 
 
                                                       - - - - - - - - - - - - - - - - - 
 
       I n   t h i s   p a r t   o f   t h e   j o b s   d i r e c t l y   c o o r d i n a t e   i n d i c a t e s   w h e r e 
 
 p r e c i s e l y   t h e   p o i n t   t o   b e   d r a w n   x 1 ,   y 1   ,   x 2 ,   y 2   ,   x 3   ,   y 3   . . . . . .   w h e r e   x   ( i ) , 
 
 y   ( i )   -   c o o r d i n a t e   o f   t h e   c e n t e r   p o i n t . 
 
 
 
       I f   "   s e t t i n g s "   i n   p a r a g r a p h   3 )   i n d i c a t e d   t h a t 
 
 P o i n t   "   t r a n s l u c e n t   "   s t i l l   r e q u i r e d   t o   i n d i c a t e   t h e   v a l u e   r   ( i ) ,   i . e .   r 1 , 
 
 x 1 ,   y 1 ,   r 2 ,   x 2 ,   y 2 ,   r 3 ,   x 3 ,   y 3 ,   . . . . . ,   w h e r e   r   ( i )   -   a n   a r b i t r a r y   n u m b e r   o f 
 
 t h e   v a l u e   o f   w h i c h   d e p e n d s   o n   t h e   l o c a t i o n   o f   t h e   e l e m e n t s   i n s i d e   t h e   s h a d e d 
 
 "   t r a n s l u c e n t   "   ,   "   p o i n t   "   . 
 
 
 
                                             I . 2 . 1 . 9   E N D   T E A M   W O R K 
 
                                             = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
           T h i s   c o m m a n d   e n d s   p a t t e r n i n g   ,   a n d   s h e   c e r t a i n l y 
 
 m u s t   b e   p r e s e n t   i n   t h e   P i c t u r e -   e n d   r e s o u r c e .   M o r e   a b o u t   g r a p h i c s 
 
 c o m m a n d s   ,   s e e   t h e   o n l i n e   d e s c r i p t i o n   p m . 
 
 
 
 
 
                                                       I . 2 . 2   V I E W -   R E S O U R C E 
 
                                                       = = = = = = = = = = = = = = = = = 
 
 
 
           W i t h   t h i s   r e s o u r c e   i s   r e a c h e d   t o   b e   m o v i n g   a n d   c h a n g i n g   - 
 
 G o s i a   i m a g e .   L o o k   a t   w h a t   i t ' s   d o n e . 
 
 
 
           P r i n c i p l e s   o d v i z h i v a n i y a   i m a g e   A G I -   i n t e r p r e t e r   s i m i l a r 
 
 p r i n c i p l e   u s e d   i n   t h e   a n i m a t i o n   :   I m a g e   c o n s e c u t i v e 
 
 p h a s e s   o f   m o v e m e n t   q u i c k l y   f o l l o w   e a c h   o t h e r   o n   t h e   s c r e e n ,   c r e a t i n g   t h e   i l l u s i o n   o f   n o n - 
 
 d i s c o n t i n u i t y . 
 
 
 
           A n   i m a g e   o f   o n e   p h a s e   o f   t h e   m o v e m e n t   c a l l e d   f r a m e s   ( C e l ) . 
 
 
 
           C o n s i d e r   t h e   e x a m p l e   o f   a n   i m a g e   f r a m e   ( i m a g e   r i g h t   a r r o w   )   . 
 
 
 
                               % % % %,% % % %,% % % %,% % % %,% % % %,% % % %,% % % %,% % % %,% % % %,% % % %,% % % %%
 
                             1   %  %  %  %  %  %  %  %  X   %  %  %  %
 
                               % % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %$%
 
                             2   %  %  %  %  %  %  %  %  %  X   %  %  %  X 
 
                               % % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %$%
 
                             3   X   %  %  %  %  %  %  %  %  %  X   X   X   %  %  %
 
                               % % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %$%
 
                             4   %  X   %  X   %  X   %  X   %  X   %  X   %  X   %  X   %  X   %  X   %  X   %
 
                               % % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %$%
 
                             5   X   %  %  %  %  %  %  %  %  %  X   X   X   %  %  %
 
                               % % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %$%
 
                             6   %  %  %  %  %  %  %  %  %  X   %  %  %  X 
 
                               % % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %<% % % %$%
 
                             7   /   %  %  %  %  %  %  %  X   %  %  %  %
 
                             / X%P%P%P%g%P%P%P%g%P%P%P%g%P%P%P%g%P%P%P%g%P%P%P%g%P%P%P%g%P%P%P%g%P%P%P%g%P%P%P%g%P%P%P%[%
 
                           /   1   2   3   4   5   6   7   8   9   1 0   1 1   \ 
 
                         /   | > 
 
         d a t u m   c e n t e r   o f   t h e   f r a m e   b a s e   f r a m e   / 
 
 
 
             W h e n   t h e   f r a m e   i m a g e   f r o m   1 6   c o l o r s   ( u s e r   s e l e c t a b l e   ) 
 
 s e r v e s   t o   i n d i c a t e   t h e   t r a n s p a r e n t   p o r t i o n s   o f   t h e   f r a m e   a n d   t h e   b a c k g r o u n d   c o l o r   i s   c a l l e d   . 
 
 R e d r a w   t h e   s c r e e n   f r a m e   i n   p l a c e   o f   t h e   c o l o r s   a r e   s a v e d   c o l o r 
 
 p o i n t s   a r e   d i s p l a y e d   o n   t h e   s c r e e n .   I n   o u r   c a s e ,   t h e   b a c k g r o u n d   c o l o r   f o r   c h o o s e 
 
 w h i t e   (   b l a n k   c e l l s )   f i l l e d   c e l l s   m a r k e d   X .   S t i l l   ,   i s o - 
 
 m a p p i n g   a b o v e   7   h a s   a   h e i g h t   a n d   w i d t h   o f   t h e   d i s p l a y   e l e m e n t s   1 1   .   l o w e r 
 
 l e f t   f r a m e   e l e m e n t   c a l l e d   t h e   b a s e   p o i n t   o f   t h e   f r a m e .   T h e   c o o r d i n a t e s   o f   t h i s   i s   - 
 
 J a w s   -   t h e   c o o r d i n a t e s   o f   t h e   f r a m e   ( i n   t h i s   c a s e   (   1 . 7   )   )   .   B o t t o m   r o w   e l e m e n t s   c a d   - 
 
 p a   i s   c a l l e d   t h e   b a s e   f r a m e .   T h e   c e n t r a l   p o i n t   o f   t h e   b a s e   i s   c a l l e d   t h e   c e n t e r   -   k a 
 
 c o r e   . 
 
 
 
             T h u s   ,   u n l i k e   t h e   P i c t u r e -   f r a m e   i m a g e   f o r   r e s o u r c e   - 
 
 i s   n o t   g i v e n   a   s e t   o f   g r a p h i c s   c o m m a n d s   a n d   p a r a m e t e r s   d e s c r i b i n g   t h e   f r a m e   (   S h i h 
 
 w i d t h s   ,   h e i g h t s ,   h a n d l e   )   a n d   i n t e r l i n e   i m a g e   c o d i n g   .   i n   d e t a i l 
 
 T h i s   p r o c e d u r e   w i l l   b e   d e s c r i b e d   i n   t h e   a p p l i c a t i o n . 
 
 
 
             R e c a l l   t h a t   a   m o v i n g   i m a g e   (   a n i m a t i o n )   i s   c a r r i e d   o u t   - 
 
 K o l k a   f r a m e s   q u i c k l y   s u c c e e d   e a c h   o t h e r   o n   t h e   s c r e e n .   S u c h   a   s e q u e n c e 
 
 s e q u e n c e s   c o n s e c u t i v e   f r a m e s   i s   c a l l e d   a   c y c l e   ( l o o p ) .   w i l l 
 
 a s s u m e   t h a t   t h e   n o r m a l   f r a m e   z e r o   f o l l o w s   t h e   l a s t   . 
 
 
 
                                       c e l   0    %   %   %   %   %>   c e l   1    %   %   %   %   %>   c e l   n -   1 
 
                                               c y c l e   ( l o o p )   o f   n   f r a m e s   . 
 
 
 
           C y c l e   a l l o w s   y o u   t o   d i s p l a y   a   c o m p l e t e d   m o v e m e n t   o f   t h e   o b j e c t   . 
 
 F i n a l l y   ,   a   s e t   o f   c y c l e s   f o r m s   a   c o m p l e t e   V i e w -   r e s o u r c e . 
 
 
 
                                                     I . 2 . 3   O B J E C T -   R E S O U R C E 
 
                                                     = = = = = = = = = = = = = = = = = = = 
 
 
 
             T h i s   r e s o u r c e   i s   u s e d   t o   r e p r e s e n t   o b j e c t s .   D e s c r i b e s   t h e   s u b j e c t   - 
 
 X i a   r o o m   n u m b e r   w h e r e   h e   " i s   "   a   t e x t   s t r i n g   a n d   s e r v i n g   o n   - 
 
 t h e   t i t l e   o f   t h e   s u b j e c t .   I f   t h e   r o o m   n u m b e r   i s   2 5 5 ,   i t   i n d i c a t e s 
 
 t h a t   t h e   o b j e c t   b e l o n g s   t o   t h e   p l a y e r   . 
 
 
 
             T h u s   O b j e c t -   r e s o u r c e   i s   a   k i n d   o f   l i s t   o f   a l l 
 
 O b j e c t s   s o m e h o w   i n v o l v e d   i n   t h i s   g a m e   ,   s o m e 
 
 i t e m s   c a n   e v e n   b e   i n v i s i b l e .   B u t   i f   w e   n e e d   t o   s h o w 
 
 s u b j e c t   o r   o b j e c t   m o v e m e n t   ,   w e   m u s t   c o n n e c t   i t   n e c e s s a r y 
 
 V i e w -   r e s o u r c e .   G e n e r a l   p i c t u r e   o f   a l l   t h e   i t e m s   t h a t   a r e   v i s i b l e   o n   t h e   s c r e e n ,   o p   - 
 
 V i e w -   m i n e d   a p p r o p r i a t e   r e s o u r c e s   ,   u n l e s s   t h e y   a r e 
 
 s c e n e r y   e l e m e n t s   ( t h e n   t h e y   a r e   p o r t r a y e d   i n   t h e   P i c t u r e -   r e s o u r c e )   . 
 
 
 
                                                       I . 2 . 4   W O R D -   R E S O U R C E 
 
                                                       = = = = = = = = = = = = = = = = = 
 
 
 
         T h i s   r e s o u r c e   c o n t a i n s   t h e   p a c k e d   a n d   e n c r y p t e d   w h o l e   d i c t i o n a r y 
 
 r e c o g n i z e d   i n t e r p r e t e r   o f   w o r d s   a n d   e x p r e s s i o n s   a n d   t h e i r   n u m e r i c a l   c o d e s   u s e d 
 
 m a r k e r s   u s e d   i n   t h e   a n a l y s i s   o f   t h e   i n p u t   s e n t e n c e s . 
 
 
 
         T h e   p a r s e r   a l l o w s   t h e   i n t e r p r e t e r   t o   r e c o g n i z e   l a y e r   - 
 
 I s l a n d s   a n d   e x p r e s s i o n s   c o n s i s t i n g   e x c l u s i v e l y   o f   L a t i n   c h a r a c t e r s   a n d   o r i e n t e d 
 
 b e   c o m m i s s i o n e d   i n   t h e   E n g l i s h   l a n g u a g e   ! 
 
 
 
 
 
                                                     I . 2 . 5   S O U N D -   R E S O U R C E 
 
                                                     = = = = = = = = = = = = = = = = = = 
 
 
 
         S O U N D -   r e s o u r c e   i s   a   s e t   o f   c o m m a n d s   t o   c o n t r o l   t h e   f o u r   - 
 
 v o i c e   s o u n d   g e n e r a t o r   c o m p u t e r   T A N D Y .   W h e n   w o r k i n g   o n   t h e   m a c h i n e   I B M   P C , 
 
 A G I   c o n v e r t s   t h e s e   c o m m a n d s   t o   u s e   o d n o g o l o s y j   s y n t h e s i z e r   . 
 
 
 
         
 
 
 
 
 
 
 
 
 
                                                     
 
                                                     
 
 
 
           
 
 
 
 
 
 
 
 
 
 
 
 
 
                           
 
 
 
                                           
 
                                           = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
 
 
 
                     
 
 
 
   
 
   - - - - - - - - - - - 
 
                 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   
 
                 
 
 
 
   
 
   
 
                 
 
                 i e 
 
 
 
   
 
   - - - - - - - - - 
 
                 
 
                 i e 
 
 
 
   
 
   - - - - - - - - - 
 
                 
 
                 i e 
 
 
 
   
 
   - - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - - 
 
                 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - - - 
 
                 
 
                 
 
 
 
         
 
 
 
 
 
   
 
   - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - 
 
                 
 
                 i e 
 
 
 
   
 
   - - - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - - - 
 
                 
 
                 i e 
 
 
 
   
 
   - - - - - - - - - 
 
                 
 
 
 
   
 
   
 
                 
 
                 
 
 
 
 
 
                               
 
                               
 
 
 
             
 
 
 
 
 
 
 
 
 
 
 
 
 
             
 
 
 
 
 
 
 
 
 
             
 
 
 
 
 
 
 
   
 
   - - - - - - - - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - 
 
                 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - - 
 
                 
 
 
 
   
 
   - - - - - - - - - - - - - - - - - 
 
                 
 
 
 
 
 
                                     
 
                                     
 
 
 
         
 
 
 
 
 
         
 
 
 
 
 
 
 
         
 
 
 
   
 
   - - - - - - - - - - - 
 
   
 
   - - - - - - - - - - - - - 
 
                       
 
 
 
 1 . 
 
 
 
 2   . 
 
 
 
 3   . 
 
 
 
 4   . 
 
 
 
 5   . 
 
 
 
 6 . 
 
       
 
       
 
       
 
       
 
                                           
 
 
 
 7 . 
 
 
 
 8 . 
 
 
 
       
 
           t h a t   ; 
 
 
 
       
 
 
 
       
 
           
 
 
 
 9 . 
 
 
 
 1 0   . 
 
                         
 
                         
 
                         
 
                         
 
                         
 
                         
 
 
 
 1 1 . 
 
         
 
 
 
 
 
                   
 
 
 
   
 
   
 
   
 
   - - - - - - - - - 
 
 
 
                 